package com.example.demo.domain.entity;

import lombok.Data;

import java.util.List;

@Data
public class Department {

    private Long departmentId;
    private String departmentName;
    private Long managerId;
    private Long locationId;
    //一对多
    private List<Employee> employees;
}
